package top.tangyh.lamp.care.service;

import top.tangyh.basic.base.service.SuperService;
import top.tangyh.lamp.care.entity.BPatient;
import top.tangyh.lamp.care.vo.query.PatientHomePageQueryVO;
import top.tangyh.lamp.care.vo.result.*;
import top.tangyh.lamp.care.vo.save.BPatientSaveVO;
import top.tangyh.lamp.care.vo.save.PatientOtherInfoInVO;


import java.util.List;


/**
 * <p>
 * 业务接口
 * 病人信息表
 * </p>
 *
 * @author zqb
 * @date 2024-07-12 16:37:12
 * @create [2024-07-12 16:37:12] [zqb] [代码生成器生成]
 */
public interface BPatientService extends SuperService<Long, BPatient> {

     List<PatientInfoOutVO> selectListByQuery() ;

     List<PatientInfoOutVO> selectListByQueryNew() ;

     BPatientResultVO selectOneByQuery(String hospitalNumber) ;

     List<PatientBedInfoOutVO> selectListBedByQuery();

     void updatePatBaseInfo(PatBaseInfoInVO baseInfoVO);

     void updatePatOtherInfo(PatientOtherInfoInVO lcInfoVO);

     List<PatientHomePageOutVO> selectPatientsHomePage(PatientHomePageQueryVO queryVO);


     /**
      *  所有同期icu患者总人数
      * @param startTime
      * @param endTime
      * @return
      */
     int countOfAllIcuPatient(String startTime,String endTime);



     List<FuerInpatientInfoResult> getHomePatients(List<FuerInpatientInfoResult> list);

      FuerInpatientInfoResult getPatientInfo(String hospitalNumber,List<FuerInpatientInfoResult> list);
}


